#include <stdio.h>
int reverse_string(char arr[],int a)
{
	if (a == 0)
	{
		printf("%c", arr[a]);
		return 0;
	}
	else
	{
		printf("%c", arr[a]);
		a--;
		return reverse_string(arr,a);
	}
}
int main()
{
	char arr[] = "abcdef";
	int sz = (sizeof(arr) / sizeof(arr[0])) - 1;
	reverse_string(arr,sz);
	return 0;
}